/* Preferences */

#import <Cocoa/Cocoa.h>

@class PreferencesData;

@interface Preferences : NSObject
{
    IBOutlet NSWindow		*mainWindow;

    IBOutlet NSColorWell	*bBackColorButton;
    IBOutlet NSMatrix		*bBackColorMatrix;
    IBOutlet NSButton		*bRegenerateMisMatched;
    IBOutlet NSButton		*bMarkGeneratedThumbnails;
    IBOutlet NSButton		*bShowHiddenFolders;
    IBOutlet NSColorWell	*bTextColorButton;
    IBOutlet NSMatrix		*bTextColorMatrix;

    IBOutlet NSButton		*gConfirmTrash;
	IBOutlet NSButton		*gUseAppleRemote;
    IBOutlet NSMatrix		*gStartupFolder;
    IBOutlet NSButton		*gStartupFolderChoose;
    IBOutlet NSTextField	*gStartupFolderText;
    IBOutlet NSMatrix		*gStartupWindow;

    IBOutlet NSColorWell	*sBackColorButton;
    IBOutlet NSMatrix		*sBackColorMatrix;
	IBOutlet NSTextField	*sDelay;
    IBOutlet NSMatrix		*sOrder;
    IBOutlet NSColorWell	*sTextColorButton;
    IBOutlet NSMatrix		*sTextColorMatrix;
	IBOutlet NSTextField	*sFolder;

    IBOutlet NSColorWell	*vBackColorButton;
    IBOutlet NSMatrix		*vBackColorMatrix;
    IBOutlet NSTextField	*vPageJump;
    IBOutlet NSTextField	*vPathElements;
    IBOutlet NSColorWell	*vTextColorButton;
    IBOutlet NSMatrix		*vTextColorMatrix;
	IBOutlet NSButton		*vUseNaturalMovie;
	IBOutlet NSButton		*vUseSingleWindow;


	PreferencesData			*prefData;

	NSString				*tempStartupFolder;
}

- (id) initWithPrefs:(PreferencesData*) prefData;

- (IBAction) cancelClicked:(id) sender;
- (IBAction) okClicked:(id) sender;
- (IBAction) chooseFolder:(id) sender;

- (IBAction) brwsrDisableBackColorWell:(id) sender;
- (IBAction) brwsrDisableTextColorWell:(id) sender;
- (IBAction) brwsrEnableBackColorWell:(id) sender;
- (IBAction) brwsrEnableTextColorWell:(id) sender;
- (IBAction) gnrlDisableFolderSelection:(id) sender;
- (IBAction) gnrlEnableFolderSelection:(id) sender;
- (IBAction) slideDisableBackColorWell:(id) sender;
- (IBAction) slideDisableTextColorWell:(id) sender;
- (IBAction) slideEnableBackColorWell:(id) sender;
- (IBAction) slideEnableTextColorWell:(id) sender;
- (IBAction) vwrDisableBackColorWell:(id) sender;
- (IBAction) vwrDisableTextColorWell:(id) sender;
- (IBAction) vwrEnableBackColorWell:(id) sender;
- (IBAction) vwrEnableTextColorWell:(id) sender;

- (NSWindow*) mainWindow;

@end
